#ifndef _SHELL_WULINFIGHTPAIR_BEAN_H_
#define _SHELL_WULINFIGHTPAIR_BEAN_H_

#include "Beans.h"
#include "Message.h"
#include <vector>
#include "WulinPlayer.h"
using namespace std;
class WulinFightPair : public Bean
{
	public:
	WulinFightPair();
	~WulinFightPair();
	void reset();
	WulinFightPair* clone();
	//对阵双方

	vector<WulinPlayer*> wulinPlayer;
	//日志编号,如果为0则表示还没进行
	int64 fightLogNum;
	//胜者ID 0为还没打
	int64 victor;
	
	bool read_from(ByteBuf& buf);
	bool write_to(ByteBuf& buf);
};

#endif
